package com.sunnada.demo.service;

import java.util.List;

/**
 * Interface description
 *基本接口，包含基本的增删改查
 *
 * @param <T>
 *
 * @version        Enter version here..., 18/09/09
 * @author         李瑞益
 */
public interface BaseService<T> {

    void delete(int id);

    int insert(T t);

    boolean update(T t);

    T getById(int id);

    List<T> getList();
}


//~ Formatted by Jindent --- http://www.jindent.com
